From: Glenn Morris Date: Sat, 22 Aug 2009 19:42:58 +0000 (+0000) Subject: (vi-goto-line): Don't warn about non-interactive goto-line. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10955 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c8d71fee8e642c8daee8003da55a0c7ed9fd9276;p=emacs.git (vi-goto-line): Don't warn about non-interactive goto-line. --- diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el index e9c7f6e8bbd..64f610f4a13 100644 --- a/lisp/emulation/vi.el +++ b/lisp/emulation/vi.el @@ -639,7 +639,7 @@ insert state." (if (null (vi-raw-numeric-prefix arg)) (with-no-warnings (end-of-buffer)) - (goto-line (vi-prefix-numeric-value arg)))) + (with-no-warnings (goto-line (vi-prefix-numeric-value arg))))) (defun vi-beginning-of-buffer () "Move point to the beginning of current buffer."